import requests

url = "http://localhost:8000/analyze_video/"
file_path = "test1.mp4"  # 改成你的视频文件名
fps = 2

with open("C:\Users\ROG\Desktop\test1.mp4", "rb") as f:
    files = {
        "video": (file_path, f, "video/mp4"),
    }
    data = {"fps": fps}
    response = requests.post(url, files=files, data=data)

print(response.json())